package com.talent.service;

import com.talent.page.Page;
import com.talent.pojo.User;
import com.talent.vo.TrainPlanVo;

public interface TrainPlanService {

	Page<TrainPlanVo> selectTrainPlanPage(TrainPlanVo trainPlan, User user, int currentPage);

	void deleteAll(String[] ids);

	TrainPlanVo selectVoByPrimaryKey(Integer id);

	void updateStatus(Integer id, int yes);

	void updateSuggestion(int id, String suggestion);

	void add(Integer enterterm, String score1,String trainPlanName, Integer builderId, String status, String term, String ability,
			String goal, Integer majorId);

	int selectLatestTPId();

	void deleteById(Integer id);

	void edit(Integer trainPlanId, String term, String goal, String ability, String score1, String[] courseName,
			String[] courseCode, Double[] score, Double[] theory, Double[] experiment, Double[] selfmaster,
			String[] examtype, Integer[] termth, Integer[] scheduleId);

	int selectCount(String trainPlanName);

}
